package com.liuli.service.impl;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.liuli.dao.BaseDao;
import com.liuli.dao.ResumeDao;
import com.liuli.entity.Resume;
import com.liuli.service.ResumeService;


/**
 * 基本简历信息服务实现类
 * @author liyunf
 *
 */
@Service("resumeService")
public class ResumeServiceImpl extends BaseServiceImpl<Resume> implements ResumeService{

	@Autowired
	@Qualifier("resumedao")
	private ResumeDao resumedao;
	
	
	@Override
	public Resume getResumeByUid(Integer uid) {
		return resumedao.getResumeByUid(uid);
	}


	public ResumeDao getResumedao() {
		return resumedao;
	}

    @Resource(name="resumedao")
	public void setResumedao(BaseDao<Resume> basedao) {
		super.setBasedao(basedao);
	}
	
	
	

}
